specifies the number of scheduled events in a cell of the view
evs | array | an array of objects of events contained in a cell |
date | Date | the date of a cell |
section | object | the section object |
Available only in PRO Edition
scheduler.templates.timeline_cell_value = function(evs, date, section){
return evs?evs.length:"";
};
The template requires the timeline plugin to be activated.
By default, the template is called only in the 'cell' mode of the Timeline view. But if you enable the cell_template config of the Timeline view, the template will be called in all other modes of the view as well.